<%--
  - Author(s): Schalk Neethling
  - Date: 20/04/2006
  - Copyright Notice: GNU Public License
  - @(#) update_event.jsp
  - Description: Update event for the Event Manager Module.
--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title>Update Event : AlliedBridge</title>    
</head>

<body>
<c:import url="/application/includes/template/header.jsp"/>
<c:import url="/application/includes/template/main_nav.jsp"/>
<h1>Update Event</h1>
<form name="search_events" action="update_event.jsp" method="post">
<fieldset>
<legend>Find Event</legend>
    <label for="comp_name_query">Enter Event Name:</label><br />
    <input name="comp_name" type="text" id="comp_name_query" tabindex="1" size="35" maxlength="100"/>
</fieldset>
<input name="find" value="Find It" type="submit" id="find" tabindex="2" class="my-button"/>
</form>

<form name="update_event" action="process.updateEvent" method="post" enctype="multipart/form-data">
    <fieldset>
        <legend>Update Event Details</legend>
        <label for="series">Series:</label><br />
        <input name="series" id="series" type="text" tabindex="1" size="35" maxlength="100" value=""/>
        
        <label for="level_status">Level Status:</label><br />
        <input name="level_status" id="level_status" type="text" tabindex="2" size="35" maxlength="20" value=""/>
        
        <label for="total_points">Total Points:</label><br />
        <input name="total_points" id="total_points" type="text" tabindex="3" size="35" maxlength="20" value=""/>
        
        <label for="comp_name">Competition Name:</label><br />
        <input name="comp_name" id="comp_name" type="text" tabindex="4" size="35" maxlength="150" value=""/>
        
        <label for="place">Place:</label><br />
        <input name="place" id="place" type="text" tabindex="5" size="35" maxlength="100" value=""/>
        
        <label for="venue">Venue:</label><br />
        <input name="venue" id="venue" type="text" tabindex="6" size="35" maxlength="255" value=""/>
        
        <label for="region">Region:</label><br />
        <select name="region" tabindex="7" id="region">
        	<option value="none" selected="selected">Select Region</option>
        	<option value="Eastern Cape">Eastern Cape</option>
        	<option value="Free State">Free State</option>
        	<option value="Gauteng">Gauteng</option>
        	<option value="Kwazulu-Natal">Kwazulu-Natal</option>
        	<option value="Mpumalanga">Mpumalanga</option>
        	<option value="Northern Cape">Northern Cape</option>
        	<option value="Limpopo">Limpopo</option>
        	<option value="North-West Province">North-West Province</option>
        	<option value="Western Cape">Western Cape</option>
        </select>
        
        <label for="start_date">Start Date:</label><br />
            <input name="start_date" id="start_date" type="text" tabindex="8" size="25" maxlength="50" value=""/>
        
        <label for="end_date">End Date:</label><br />
        <input name="end_date" id="end_date" type="text" tabindex="9" size="25" maxlength="50" value=""/>
        
        <label for="start_time">Start Time:</label><br />
        <input name="start_time" id="start_time" type="text" tabindex="10" size="25" maxlength="50" value=""/>
        
        <label for="end_time">End Time:</label><br />
        <input name="end_time" id="end_time" type="text" tabindex="11" size="25" maxlength="50" value=""/>        
    </fieldset>
    <fieldset>
        <legend>Event Media</legend>
        <p>Current logo file: </p>
        <label for="comp_logo">Competition logo:</label><br />
        <input name="comp_logo" id="comp_logo" type="file" tabindex="12" size="35"/>        

        <p>Current leaderboard logo:</p>
        <label for="lb_comp_logo">Leaderboard text logo:</label><br />
        <input name="lb_comp_logo" id="lb_comp_logo" type="file" tabindex="13" size="35"/>        

        <p>Current entry form:</p>
        <label for="entry_form">Entry form:</label><br />
        <input name="entry_form" id="entry_form" type="file" tabindex="14" size="35"/>        
    </fieldset>
    <input type="hidden" name="id" value="" />
    <input type="hidden" name="current_comp_logo" value="" />
    <input type="hidden" name="current_lb_comp_logo" value="" />
    <input type="hidden" name="current_entry_form" value="" />

    <input name="Submit" id="Submit" type="submit" tabindex="15" value="Submit" />
    <input name="Reset" id="Reset" type="reset" tabindex="16" value="Reset" />
</form>
<c:import url="/application/includes/template/footer.jsp"/>
</body>
</html>